#include<stdio.h>

int main(int argc, char *argv[])
{
	int a, b, c;
	scanf("%d %d %d", &a, &b, &c);

	if(a<b){
		if(a<c){
			if(b<c){//a<b<c
				printf("%d %d %d\n", a, b, c);
			}else{//a<c<b
				printf("%d %d %d\n", a, c, b);
			}
		}else{//c<a<b
			printf("%d %d %d\n", c, a, b);
		}
	}else{//b<a
		if(b<c){
			if(a<c){//b<a<c
				printf("%d %d %d\n", b, a, c);
			}else{//b<c<a
				printf("%d %d %d\n", b, c, a);
			}
		}else{
			printf("%d %d %d\n", c, b, a);
		}

	}

	return 0;
}
